| lcPlineGetDist | Home |
|
double lcPlineGetDist ( HANDLE hPline, double X, double Y, double* pX2, double* pY2, double* pDist ); |
| hPline | |
| Handle to a polyline object. | |
| X Y | |
| Off-curve point. | |
| pX2 pY2 | |
| Pointers to variables that will receive coordinates of the found on-curve point (which is nearest to X,Y) | |
| pDist | |
| Pointer to variable that will receive the distance from beginning of a polyline to found point. | |
| Distance between given point (X,Y) and found point (X2,Y2). |
| Code sample, lcPlineGetPoint |